@layout("/common/_container.html",{js:["/assets/business/card/card_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="cardForm" lay-filter="cardForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="cardId" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">卡号<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="cardNo" name="cardNo" placeholder="请输入卡号" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">卡密<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="cardPassword" name="cardPassword" placeholder="请输入卡密" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">卡号状态，0已入库，待销售，1已销售<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="cardStatus" name="cardStatus" placeholder="请输入卡号状态，0已入库，待销售，1已销售" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">提交申请卡号的用户名<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="createUser" name="createUser" placeholder="请输入提交申请卡号的用户名" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">提交申请卡号的用户id<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="createUserId" name="createUserId" placeholder="请输入提交申请卡号的用户id" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">面值<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="quota" name="quota" placeholder="请输入面值" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">回收价格<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="amount" name="amount" placeholder="请输入回收价格" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">回收费率<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="recoverRate" name="recoverRate" placeholder="请输入回收费率" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">成本费率<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="costRate" name="costRate" placeholder="请输入成本费率" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">成本价格<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="costAmount" name="costAmount" placeholder="请输入成本价格" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">创建时间<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="createTime" name="createTime" placeholder="请输入创建时间" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">更新时间<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="updateTime" name="updateTime" placeholder="请输入更新时间" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">是否删除<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="delFlag" name="delFlag" placeholder="请输入是否删除" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">订单Id<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="orderId" name="orderId" placeholder="请输入订单Id" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">分类id<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="typeId" name="typeId" placeholder="请输入分类id" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}